from django.conf.urls import url
from evaluate import views as evaluate_views
from . import  adminViews as admin_views
from evaluate.adviceAnalyse import wordMake 
urlpatterns = [
	url(r'^login/$',evaluate_views.login,name='login'),
	url(r'^s_index/$',evaluate_views.s_index,name='s_index'),
	url(r'^t_index/$',evaluate_views.t_index,name='t_index'),
	url(r'^s_e_save/$',evaluate_views.s_evaluate_save,name='s_e_save'),
	url(r'^t_organization_save/$',evaluate_views.t_organization_save,name='t_organization_save'),
	url(r'^s_evaluate_save_ajax/$',evaluate_views.s_evaluate_save_ajax,name='s_evaluate_save_ajax'),
	url(r'^t_evaluate_save_ajax/$',evaluate_views.t_evaluate_save_ajax,name='t_evaluate_save_ajax'),
	#admin_views
	url(r'^admin_login/$',admin_views.admin_login,name='admin_login'),
	url(r'^admin_index/$',admin_views.admin_index,name='admin_index'),
	url(r'^change_admin_pwd/$',admin_views.change_pwd,name='c_admin_pwd'),
	url(r'^add_admin/$',admin_views.add_admin,name='add_admin'),
	url(r'^s_enviroment_totality/$',admin_views.s_enviroment_totality,name='s_enviroment_totality'),
	url(r'^s_enviroment_teching/$',admin_views.s_enviroment_teching,name='s_enviroment_teching'),
	url(r'^s_enviroment_accommodation/$',admin_views.s_enviroment_accommodation,name='s_enviroment_accommodation'),
	url(r'^s_enviroment_diet/$',admin_views.s_enviroment_diet,name='s_enviroment_diet'),
	url(r'^s_enviroment_o_total/$',admin_views.s_enviroment_o_total,name='s_enviroment_o_total'),
	url(r'^t_enviroment_o_total/$',admin_views.t_enviroment_o_total,name='t_enviroment_o_total'),
	url(r'^opend_evaluate_index/$',admin_views.opend_evaluate_index,name='opend_evaluate_index'),
	url(r'^opend_evaluate/$',admin_views.opend_evaluate,name='opend_evaluate'),
	url(r'^close_evaluate/$',admin_views.close_evaluate,name='close_evaluate'),
	url(r'^create_data/$',admin_views.create_data,name='create_data'),
	url(r'^teacher_grade_table/$',admin_views.teacher_grade_table,name='teacher_grade_table'),
	#分析数据
	url(r'^count_evaluation_index/$',admin_views.count_evaluation_index,name='count_evaluation_index'),
	url(r'^count_evaluation/$',admin_views.count_evaluation,name='count_evaluation'),
	#ajax接口
	url(r'^people_count/$',admin_views.people_count,name='people_count'),#获取主页统计数据
	#测试接口
	url(r'^make_hot_word$',wordMake.make_hot_word,name='make_hot_word'),#热词提取
	#模拟接口
	url(r'^advice_show$',admin_views.advice_show,name='advice_show'),
	url(r'^search$',admin_views.search,name='search'),
	
]